/**
 * Copyright (C) 2022-2023
 * All rights reserved, Designed By www.jjsjshop.com
 * 注意：
 * 本软件为www.jjsjshop.com开发研制，项目使用请保留此说明
 */
Component({
    properties: {
        value: {
            type: Number,
            value: 0
        },
        size: {
            type: String,
            value: 'xxl'
        }
    },
    data: {},
    methods: {
        redeHander(e) {
            let value = e.currentTarget.dataset.index + 1
            this.setData({
                value: value
            })
            this.triggerEvent('onChange', value)
        }
    }
})